Skip to content

Conversation

@brian-dellabetta
Copy link
Collaborator

#386 added constraints to pydantic base models to disallow extraneous inputs. This breaks upstream transformers, which passes in **kwargs to QuantizationConfig.model_validate here.

This PR loosens the constraint to allow for extraneous inputs just on QuantizationConfig, to unblock failing ci/cd tests in llm-compressor until this can be changed in a follow-up PR to transformers

Copy link
Collaborator

@kylesayrs kylesayrs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TY!

@brian-dellabetta brian-dellabetta enabled auto-merge (squash) August 11, 2025 21:26
@brian-dellabetta brian-dellabetta merged commit de945c6 into main Aug 11, 2025
1 check passed
@brian-dellabetta brian-dellabetta deleted the bdellabe/quant-config-fix branch August 11, 2025 21:28
Etelis added a commit to Etelis/compressed-tensors that referenced this pull request Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants